package org.parademo.service;

import org.parademo.dao.CountryDao;
import org.parademo.dao.ProposalDao;
import org.parademo.model.CountryEntity;

import java.util.List;

/**
 * @author ajit
 */
public class CountryServiceImpl implements CountryService {

    private final CountryDao countryDao;

    public CountryServiceImpl(CountryDao countryDao) {
        this.countryDao = countryDao;
    }

    @Override
    public List<CountryEntity> getCountries() {
        return countryDao.getCountries();
    }
}
